/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ViewLogFileInternalFrame.java
 *
 * Created on Apr 30, 2010, 9:47:21 PM
 */

package com.gs.logviewer.mockup;

/**
 *
 * @author Sabuj
 */
public class ViewLogFileInternalFrame extends javax.swing.JInternalFrame {

    /** Creates new form ViewLogFileInternalFrame */
    public ViewLogFileInternalFrame() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        mainPanel = new javax.swing.JPanel();
        viewLogToolBar = new javax.swing.JToolBar();
        openLogFileButton = new javax.swing.JButton();
        reloadLogButton = new javax.swing.JButton();
        jSeparator1 = new javax.swing.JToolBar.Separator();
        saveLogButton = new javax.swing.JButton();
        saveAllLogButton = new javax.swing.JButton();
        saveAsLogButton = new javax.swing.JButton();
        jSeparator2 = new javax.swing.JToolBar.Separator();
        cutLogButton = new javax.swing.JButton();
        copyLogButton = new javax.swing.JButton();
        pasteLogButton = new javax.swing.JButton();
        selectAllLogButton = new javax.swing.JButton();
        jSeparator5 = new javax.swing.JToolBar.Separator();
        undoButton = new javax.swing.JButton();
        redoButton = new javax.swing.JButton();
        jSeparator3 = new javax.swing.JToolBar.Separator();
        jLabel1 = new javax.swing.JLabel();
        logLevelSlider = new javax.swing.JSlider();
        currentLogLevelLabel = new javax.swing.JLabel();
        jSeparator4 = new javax.swing.JToolBar.Separator();
        filterLogButton = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        viewLogTabbedPane = new javax.swing.JTabbedPane();

        setTitle("Log file");

        mainPanel.setLayout(new java.awt.GridBagLayout());

        viewLogToolBar.setFloatable(false);
        viewLogToolBar.setRollover(true);
        viewLogToolBar.setAutoscrolls(true);

        openLogFileButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/folder_open_file.png"))); // NOI18N
        openLogFileButton.setText("Open");
        openLogFileButton.setFocusable(false);
        openLogFileButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        openLogFileButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(openLogFileButton);

        reloadLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/reload_green.png"))); // NOI18N
        reloadLogButton.setText("Reload");
        reloadLogButton.setFocusable(false);
        reloadLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        reloadLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(reloadLogButton);
        viewLogToolBar.add(jSeparator1);

        saveLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/save.gif"))); // NOI18N
        saveLogButton.setText("Save");
        saveLogButton.setFocusable(false);
        saveLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        saveLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(saveLogButton);

        saveAllLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/saveall.gif"))); // NOI18N
        saveAllLogButton.setText("Save All");
        saveAllLogButton.setFocusable(false);
        saveAllLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        saveAllLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(saveAllLogButton);

        saveAsLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/saveas_edit.gif"))); // NOI18N
        saveAsLogButton.setText("Save As");
        saveAsLogButton.setFocusable(false);
        saveAsLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        saveAsLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(saveAsLogButton);
        viewLogToolBar.add(jSeparator2);

        cutLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/cut.gif"))); // NOI18N
        cutLogButton.setText("Cut");
        cutLogButton.setFocusable(false);
        cutLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        cutLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(cutLogButton);

        copyLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/copy.gif"))); // NOI18N
        copyLogButton.setText("Copy");
        copyLogButton.setFocusable(false);
        copyLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        copyLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(copyLogButton);

        pasteLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/paste.gif"))); // NOI18N
        pasteLogButton.setText("Paste");
        pasteLogButton.setFocusable(false);
        pasteLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        pasteLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(pasteLogButton);

        selectAllLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/selectall.gif"))); // NOI18N
        selectAllLogButton.setText("Select All");
        selectAllLogButton.setFocusable(false);
        selectAllLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        selectAllLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(selectAllLogButton);
        viewLogToolBar.add(jSeparator5);

        undoButton.setText("Undo");
        undoButton.setFocusable(false);
        undoButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        undoButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(undoButton);

        redoButton.setText("Redo");
        redoButton.setFocusable(false);
        redoButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        redoButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(redoButton);
        viewLogToolBar.add(jSeparator3);

        jLabel1.setText("Log Level: ");
        viewLogToolBar.add(jLabel1);

        logLevelSlider.setForeground(new java.awt.Color(0, 51, 51));
        logLevelSlider.setMaximum(5);
        logLevelSlider.setPaintLabels(true);
        logLevelSlider.setPaintTicks(true);
        logLevelSlider.setSnapToTicks(true);
        logLevelSlider.setMaximumSize(new java.awt.Dimension(180, 31));
        logLevelSlider.setMinimumSize(new java.awt.Dimension(180, 31));
        logLevelSlider.setPreferredSize(new java.awt.Dimension(180, 31));
        viewLogToolBar.add(logLevelSlider);

        currentLogLevelLabel.setText("DEBUG");
        viewLogToolBar.add(currentLogLevelLabel);
        viewLogToolBar.add(jSeparator4);

        filterLogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/systemfilterpool.gif"))); // NOI18N
        filterLogButton.setText("Filter");
        filterLogButton.setFocusable(false);
        filterLogButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        filterLogButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        viewLogToolBar.add(filterLogButton);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.weightx = 1.0;
        mainPanel.add(viewLogToolBar, gridBagConstraints);

        jPanel1.setLayout(new java.awt.BorderLayout());

        viewLogTabbedPane.setMinimumSize(new java.awt.Dimension(480, 400));
        viewLogTabbedPane.setPreferredSize(new java.awt.Dimension(480, 400));
        jPanel1.add(viewLogTabbedPane, java.awt.BorderLayout.CENTER);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        mainPanel.add(jPanel1, gridBagConstraints);

        getContentPane().add(mainPanel, java.awt.BorderLayout.CENTER);

        pack();
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton copyLogButton;
    private javax.swing.JLabel currentLogLevelLabel;
    private javax.swing.JButton cutLogButton;
    private javax.swing.JButton filterLogButton;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JToolBar.Separator jSeparator1;
    private javax.swing.JToolBar.Separator jSeparator2;
    private javax.swing.JToolBar.Separator jSeparator3;
    private javax.swing.JToolBar.Separator jSeparator4;
    private javax.swing.JToolBar.Separator jSeparator5;
    private javax.swing.JSlider logLevelSlider;
    private javax.swing.JPanel mainPanel;
    private javax.swing.JButton openLogFileButton;
    private javax.swing.JButton pasteLogButton;
    private javax.swing.JButton redoButton;
    private javax.swing.JButton reloadLogButton;
    private javax.swing.JButton saveAllLogButton;
    private javax.swing.JButton saveAsLogButton;
    private javax.swing.JButton saveLogButton;
    private javax.swing.JButton selectAllLogButton;
    private javax.swing.JButton undoButton;
    private javax.swing.JTabbedPane viewLogTabbedPane;
    private javax.swing.JToolBar viewLogToolBar;
    // End of variables declaration//GEN-END:variables

}
